<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@include file="../../common/taglibs.jsp"%>
<%@include file="../../common/_head.jsp"%>
<html>
<head>
    <link  rel="stylesheet" href="<%=path%>/assets/layuiadmin/layui/css/modules/formSelects/formSelects-v4.css">
    <style>
        a:link{
            color: #009688;
        }
        a:visited{
            color: red;
        }
    </style>
</head>
<body pname="<%=basePath%>">
<div class="layui-fluid" id="component-tabs">
    <div class="layui-row">
        <div class="layui-col-md12">
            <div class="layui-card">
                <div class="layui-card-body">
                    <div class="layui-tab layui-tab-brief" lay-filter="component-tabs-brief">
                        <input type="hidden" id="id" value="">
                        <ul class="layui-tab-title">
                            <li class="layui-this">基本信息</li>
                            <c:forEach items="${userPermissions}" var="permission">
                                <c:if test="${permission eq '/wallet/coin/list'}">
                                    <li>金币明细</li>
                                </c:if>
                            </c:forEach>
                            <c:forEach items="${userPermissions}" var="permission">
                                <c:if test="${permission eq '/wallet/credit/list'}">
                                    <li>积分明细</li>
                                </c:if>
                            </c:forEach>
                            <c:forEach items="${userPermissions}" var="permission">
                                <c:if test="${permission eq '/operate/call/list'}">
                                    <li>视频通话明细</li>
                                </c:if>
                            </c:forEach>
                            <c:forEach items="${userPermissions}" var="permission">
                                <c:if test="${permission eq '/operate/im/list'}">
                                    <li>im消息明细</li>
                                </c:if>
                            </c:forEach>
                        </ul>
                        <div class="layui-tab-content">
                            <div class="layui-tab-item layui-show">
                                <div class="layui-card-body" pad15>
                                    <div class="layui-form" lay-filter="">
                                        <div class="layui-form-item">
                                            <div class="layui-inline">
                                                <label class="layui-form-label">用户ID</label>
                                                <div class="layui-input-inline">
                                                    <input type="text" name="userId" id="userId" readonly class="layui-input">
                                                </div>
                                            </div>
                                            <div class="layui-inline">
                                                <label class="layui-form-label">昵称</label>
                                                <div class="layui-input-inline">
                                                    <input type="text" name="name" id="name" readonly autocomplete="off" class="layui-input">
                                                </div>
                                            </div>
                                        </div>
                                        <div class="layui-form-item">
                                            <label class="layui-form-label">性别</label>
                                            <div class="layui-input-block">
                                                <input type="radio" name="gender" value="1" title="男" disabled>
                                                <input type="radio" name="gender" value="0" title="女" disabled>
                                                <input type="radio" name="gender" value="" title="无" disabled>
                                            </div>
                                        </div>
                                        <div class="layui-form-item">
                                            <div class="layui-inline">
                                                <label class="layui-form-label">头像</label>
                                                <div class="layui-input-inline">
                                                    <div style="width: 92px; height: 92px;" id="iconDiv">
                                                        <img class="layui-upload-img" id="iconImg" style="width: 100%; height: 100%;">
                                                    </div>
                                                    <input type="text" style="display: none" name="icon" id="icon" >
                                                </div>
                                            </div>
                                        </div>
                                        <div class="layui-form-item">
                                            <div class="layui-inline">
                                                <label class="layui-form-label">手机</label>
                                                <div class="layui-input-inline">
                                                    <input type="text" name="phone" id="phone" readonly autocomplete="off" class="layui-input">
                                                </div>
                                            </div>
                                            <div class="layui-inline">
                                                <label class="layui-form-label">等级</label>
                                                <div class="layui-input-inline">
                                                    <input type="text" name="level" id="level" value="" readonly autocomplete="off" class="layui-input">
                                                </div>
                                            </div>
                                        </div>
                                        <div class="layui-form-item">
                                            <div class="layui-inline">
                                                <label class="layui-form-label">生日</label>
                                                <div class="layui-input-inline">
                                                    <input type="text" name="birthday" id="birthday" readonly autocomplete="off" class="layui-input">
                                                </div>
                                            </div>
                                            <div class="layui-inline">
                                                <label class="layui-form-label">星座</label>
                                                <div class="layui-input-inline">
                                                    <input type="text" name="ussName" id="ussName" readonly autocomplete="off" class="layui-input">
                                                </div>
                                            </div>
                                        </div>
                                        <div class="layui-form-item">
                                            <div class="layui-inline">
                                                <label class="layui-form-label">身高</label>
                                                <div class="layui-input-inline">
                                                    <input type="text" name="height" id="height" readonly autocomplete="off" class="layui-input">
                                                </div>
                                            </div>
                                            <div class="layui-inline">
                                                <label class="layui-form-label">体重</label>
                                                <div class="layui-input-inline">
                                                    <input type="text" name="weight" id="weight" readonly autocomplete="off" class="layui-input">
                                                </div>
                                            </div>
                                        </div>
                                        <div class="layui-form-item">
                                            <div class="layui-inline">
                                                <label class="layui-form-label">职业</label>
                                                <div class="layui-input-inline">
                                                    <input type="text" name="proName" id="proName" readonly autocomplete="off" class="layui-input">
                                                </div>
                                            </div>
                                            <div class="layui-inline">
                                                <label class="layui-form-label">情感</label>
                                                <div class="layui-input-inline">
                                                    <input type="text" name="emName" id="emName" readonly autocomplete="off" class="layui-input">
                                                </div>
                                            </div>
                                        </div>
                                        <div class="layui-form-item layui-form-text">
                                            <label class="layui-form-label">个性签名</label>
                                            <div class="layui-input-block" style="width: 50%">
                                                <textarea name="persionSign" id="persionSign" readonly class="layui-textarea"></textarea>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <c:forEach items="${userPermissions}" var="permission">
                                <c:if test="${permission eq '/wallet/coin/list'}">
                                    <div class="layui-tab-item">
                                        <iframe id="coin-iframe" src="" frameborder="0" scrolling="auto" width="100%" height="85%"></iframe>
                                    </div>
                                </c:if>
                            </c:forEach>
                            <c:forEach items="${userPermissions}" var="permission">
                                <c:if test="${permission eq '/wallet/credit/list'}">
                                    <div class="layui-tab-item">
                                        <iframe id="credit-iframe" src="" frameborder="0" scrolling="auto" width="100%" height="85%"></iframe>
                                    </div>
                                </c:if>
                            </c:forEach>
                            <c:forEach items="${userPermissions}" var="permission">
                                <c:if test="${permission eq '/operate/call/list'}">
                                    <div class="layui-tab-item">
                                        <iframe id="call-iframe" src="" frameborder="0" scrolling="auto" width="100%" height="85%"></iframe>
                                    </div>
                                </c:if>
                            </c:forEach>
                            <c:forEach items="${userPermissions}" var="permission">
                                <c:if test="${permission eq '/operate/im/list'}">
                                    <div class="layui-tab-item">
                                        <iframe id="im-iframe" src="" frameborder="0" scrolling="auto" width="100%" height="85%"></iframe>
                                    </div>
                                </c:if>
                            </c:forEach>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

<script src="<%=path%>/assets/plupload-2.1.2/js/plupload.full.min.js"></script>
<script src="<%=path%>/assets/ali/oss/upload.js"></script>
<script src="<%=path%>/assets/crypto-js/aes.js"></script>
<script src="<%=path%>/assets/crypto-js/aes-util.js"></script>
<script src="<%=path%>/js/usermanage/user/info.js?v=1.1.2"></script>
</body>
</html>
